using System;
using System.Collections.Generic;
using Volo.Abp.Application.Dtos;

namespace ERP.WorkforceManage.Dtos
{
    /// <summary>
    /// 班组DTO
    /// </summary>
    public class TeamDto : EntityDto<int>
    {
        /// <summary>
        /// 班组编号
        /// </summary>
        public string TeamNumber { get; set; }

        /// <summary>
        /// 班组名称
        /// </summary>
        public string TeamName { get; set; }

        /// <summary>
        /// 班组类型
        /// </summary>
        public string TeamType { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Descr { get; set; }

        /// <summary>
        /// 班组成员列表
        /// </summary>
        public List<TeamMemberDto> Members { get; set; } = new List<TeamMemberDto>();
    }

    /// <summary>
    /// 班组成员DTO
    /// </summary>
    public class TeamMemberDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Username { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickname { get; set; }
    }
} 